package com.game.server.message.proto.in;

import java.nio.ByteBuffer;
import java.nio.charset.CharacterCodingException;

import lombok.Getter;

import com.comm.ISession;

import com.game.server.message.AbstractMessage;
import com.game.server.message.IRequset;

public abstract class AbstractXYapplyJoinUnionReq extends AbstractMessage implements IRequset{
	static final public int msgcode = 242;
	
	@Getter protected Integer clubid;
	@Getter protected Integer unionid;
	
	@Override
	public void DeSerialize(ByteBuffer buffer) throws CharacterCodingException {
		clubid = ReadInteger(buffer);
		unionid = ReadInteger(buffer);
		
	}
	
	
	@Override
	public abstract void Execute(ISession session);
}

